:: startup.bat
@echo off

set curPath=%~dp0
set projectPath=%curPath%..\
set binPath=%projectPath%bin\

echo start center_server
start cmd /K %binPath%center_server.exe -config=%binPath%center_server.json
ping 127.0.0.1 -n 1 >nul

echo start login_server
start cmd /K %binPath%login_server.exe -config=%binPath%login_server.json
ping 127.0.0.1 -n 1 >nul

echo start game_server
start cmd /K %binPath%game_server.exe -config=%binPath%game_server.json
ping 127.0.0.1 -n 1 >nul

echo start gate_server
start cmd /K %binPath%gate_server.exe -config=%binPath%gate_server.json
ping 127.0.0.1 -n 1 >nul

echo start test_client
start cmd /K %binPath%test_client.exe -config=%binPath%test_client.json
ping 127.0.0.1 -n 1 >nul

echo all server started
pause
